package models.bean.lien;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;

@ManagedBean(name="homeBean")
@SessionScoped
public class HomeBean {
	
	public void initHome(){
		FacesContext f=FacesContext.getCurrentInstance();		
		HttpSession ses = (HttpSession)f.getExternalContext().getSession(true);
		
		ses.setAttribute("lang","EN");
	}
	
}
